<h1>Listado de Instituciones Culturales</h1>
<% form_tag url_for(:controller => 'cultural_heritage/cultural_institutions',:action=>"gmaps_search"),{:id =>"cultural_heritage_form_search_map"} do -%>
<p class="two-col"><label></label><%= text_field_tag "search_name" %></p>
<input class="button" name="Buscar" value="Buscar" id="cultures_search" type="submit" />
<% end %>
<%if @cultural_heritage_cultural_institutions.size>0 %>
<br>
</br>
<br></br>
<div id="cultural_heritage_map">
<%= render :partial=>"gmap" %>
</div>
<div id="lineaform"></div>
<% else %>
    <p>Ninguna Institucion Cultural</p>
<% end %>
<br />
<% if (user_signed_in? && ([2].include?(current_user.role))) %>
<p><%= link_to 'Nueva Institucion Cultural', new_cultural_heritage_cultural_institution_path %></p>
<%end%>
<fieldset class="column-right4">
  <%= link_to 'Búsqueda de Instituciones culturales',{:controller => 'cultural_heritage/cultural_institutions', :action => 'index'}%>
</fieldset>